﻿<div id="@Html.IdForModel()" class="input-append date">
    <input data-format="dd.MM.yyyy hh:mm:ss" type="text" value="@Html.ValueForModel()" />
    <span class="add-on">
        <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
    </span>
</div>
<script type="text/javascript">
    $(function () {
        $('#@Html.IdForModel()').datetimepicker();
    });
</script>
